<template>
  <div class="alert-box">
    <i class="el-icon-info"></i>
    {{ txt }}
  </div>
</template>

<script>
export default {
  props: {
    txt: {
      type: String,
      default: ""
    }
  }
};
</script>
<style lang="scss" scoped>
.alert-box {
  width: 100%;
  height: 40px;
  line-height: 40px;
  background: #e6f7ff;
  border: 1px solid #bae7ff;
  border-radius: 4px;
  font-family: PingFangSC-Regular;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
  margin-top: 10px;
  i {
    margin: 0 10px;
    color: #1890ff;
  }
}
</style>
